package com.ficus.road.maintain.dao;

import com.ficus.road.maintain.core.dao.BaseMongoDao;
import com.ficus.road.maintain.core.model.ShowRoadIntact;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 道路完好率城市道路展示路段
 * @author jingyan.ma
 * @date 2023/9/20 下午19:06
 */
@Component
public class ShowRoadIntactDirectDao extends BaseMongoDao<ShowRoadIntact.Direct, String> {
    @Override
    public String getCollectionName() {
        return "road_intact_direct";
    }

    public List findDirectAll() {
        return super.findAll();
    }
}
